package com.tem.product.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_details")
@ApiModel(value="ProductDetails对象", description="")
public class ProductDetails implements Serializable {
    private static final long serialVersionUID=88657893431L;
    @ApiModelProperty(value = "产品附加属性")
    @TableId("product_id")
    private Long productId;

    @ApiModelProperty(value = "客户评论 总数量")
    @TableField("comment_count")
    private Integer commentCount;

    @ApiModelProperty(value = "好评率1-100")
    @TableField("comment_hp")
    private Integer commentHp;

    @ApiModelProperty(value = "好评数量")
    @TableField("comment_hpsl")
    private Integer commentHpsl;

    @ApiModelProperty(value = "中差评数量")
    @TableField("comment_zcsl")
    private Integer commentZcsl;

    @ApiModelProperty(value = "总星数量")
    @TableField("comment_xjzl")
    private Integer commentXjzl;

    @ApiModelProperty(value = "浏览人数")
    @TableField("look_count")
    private Integer lookCount;

    @ApiModelProperty(value = "收藏人数")
    @TableField("collection_count")
    private Integer collectionCount;

    @ApiModelProperty(value = "称赞人数")
    @TableField("tag_count")
    private Integer tagCount;

    @ApiModelProperty(value = "销售数量")
    @TableField("sale_count")
    private Integer saleCount;

    @ApiModelProperty(value = "库存数量 -9不限库存")
    @TableField("stock_qty")
    private Integer stockQty;

    @ApiModelProperty(value = "物流重量(Kg)")
    @TableField("logis_weight")
    private BigDecimal logisWeight;

    @ApiModelProperty(value = "物流体积(m3)")
    @TableField("logis_volume")
    private BigDecimal logisVolume;

    @ApiModelProperty(value = "快递模板公司 0包邮 <0系统模板id的负数")
    @TableField("logis_model_id")
    private Long logisModelId;

    @ApiModelProperty(value = "供应商id")
    @TableField("provider_id")
    private Long providerId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "发布时间")
    @TableField("publish_time")
    private LocalDateTime publishTime;

    @ApiModelProperty(value = "计划下架时间")
    @TableField("plan_end_time")
    private LocalDateTime planEndTime;

    @ApiModelProperty(value = "计划上架时间")
    @TableField("plan_start_time")
    private LocalDateTime planStartTime;

    @ApiModelProperty(value = "有无发票 1有 0无")
    @TableField("invoice")
    private Integer invoice;

    @ApiModelProperty(value = "有无保修 1有 0无")
    @TableField("guarantee")
    private Integer guarantee;

    @ApiModelProperty(value = "联系人")
    @TableField("link_man")
    private String linkMan;

    @ApiModelProperty(value = "联系电话")
    @TableField("link_tel")
    private String linkTel;

    @ApiModelProperty(value = "联系地址")
    @TableField("link_address")
    private String linkAddress;

    @ApiModelProperty(value = "经度")
    @TableField("longitude")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    @TableField("latitude")
    private Double latitude;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
